PROJECT(wakabaagent)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/chanagents)

SET(wakabaagent_sources
	wakabaagent.cpp)

SET(wakabaagent_headers
	wakabaagent.h
	wakabatasksendpost.h
	)

QT4_WRAP_CPP(wakabaagent_moc ${wakabaagent_headers})

ADD_LIBRARY(wakabaagent MODULE ${wakabaagent_sources} ${wakabaagent_moc})
TARGET_LINK_LIBRARIES(wakabaagent ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(wakabaagent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS wakabaagent LIBRARY DESTINATION ${LIBDIR}/plugins/chanagents)

